package com.oocl.webmvc.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.oocl.webmvc.pojo.Customer;


/**
 * @description: 根据项目的需求，写接口
 * @author  XIEMI2
 * @date Aug 7, 2017 4:25:24 PM
 * @version 1.0
 */
@Service
public interface CustomerService {
	
	/**
	 * 添加一个 customer
	 * @param cust
	 * @return
	 */
	public Customer addCustomer(Customer cust);
	
	/**
	 * 
	 * @param customerId
	 * @return del方法，返回String
	 */
	public String delCustomer(String customerId);
	
	/**
	 * 更新customer 信息
	 * @param cust
	 * @return 那个Customer
	 */
	public Customer updateCustomer(Customer cust);
	
	/**
	 * 查找所有的 customer
	 * @return
	 */
	public List<Customer> findAllCustomers();
	
	
}


